gtk-demo: Rework foreigndrawing to use sizes from the theme
authorCarlos Garcia Campos <cgarcia@igalia.com>
Sat, 12 Mar 2016 09:25:43 +0000 (10:25 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Mar 2016 15:45:48 +0000 (11:45 -0400)
commit5107c4a75f64e710960f5f65e41e30f0dd4d2187
tree8bccd4abfcadbd9a31d0637d44fc30b3c96884ed
parent068d3826896590dd7ff6e41bee88f07e1416afc9
gtk-demo: Rework foreigndrawing to use sizes from the theme

Instead of hardcoding the size of the widgets. This makes the output
closer to real widgets and fixes the blurry icons. I've also added a
scale.

https://bugzilla.gnome.org/show_bug.cgi?id=763758
demos/gtk-demo/foreigndrawing.c